from django_community.models import UserProfile

from django_utils.request_helpers import get_ip
from django_community.utils import get_anon_user, is_anon_user

def community(request):
    user = request.user
    return {'community_user':user,  'islogged':user, 'isAnon':is_anon_user(request.user)}